﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Dt261.db
{
    class dbconfig
    {
        public const string DatabaseFilename = "dt261.db3";

        //public const SQLite.SQLiteOpenFlags Flags =
        // // open the database in read/write mode
        // SQLite.SQLiteOpenFlags.ReadWrite |
        // // create the database if it doesn't exist
        // SQLite.SQLiteOpenFlags.Create |
        // // enable multi-threaded database access
        // SQLite.SQLiteOpenFlags.SharedCache;
        public static string DatabasePath
        {
            get
            {
                var basePath = Environment.CurrentDirectory;
                return System.IO.Path.Combine(basePath, DatabaseFilename);
            }
        }
    }
}
